Skip to content

Conversation

@richardjrossiii
Copy link
Contributor

This happened because this.interceptors was null when clear() was invoked.

Fixes #296.

@facebook-github-bot
Copy link

By analyzing the blame information on this pull request, we identified @richardjrossiii, @grantland and @wangmengyan95 to be potential reviewers.

@grantland
Copy link
Contributor

Can we /* package */ protect this so we can add unit tests?

Also, it seems like we should be clearing or nullifying this.interceptors if we pass in null, right?

… APIs.

This happened because `this.interceptors` was null when `clear()` was invoked.

Fixes #296.
@facebook-github-bot
Copy link

@richardjrossiii updated the pull request.

@grantland
Copy link
Contributor

LGTM

richardjrossiii added a commit that referenced this pull request Dec 15, 2015
Properly initialize `Configuration.interceptors` when using old-style APIs.
@richardjrossiii richardjrossiii merged commit 2864a95 into master Dec 15, 2015
@richardjrossiii richardjrossiii deleted the richardross.npe.fix branch December 15, 2015 21:09
@grantland grantland modified the milestone: 1.11.1 Dec 17, 2015
@facebook-github-bot
Copy link

@richardjrossiii updated the pull request.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants